<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <title>佳讯科技销售管理套件</title>
  <link rel="stylesheet" href="${createLinkTo(dir:'css',file:'pt.css')}"></link>
  <link rel="stylesheet" href="${createLinkTo(dir:'css',file:'css.css')}"></link>
</head>
<body>
  <script language="javascript">
    function hideOrShow(id){
      var element = document.getElementById(id);
      if(element.style.display == "")
        element.style.display = "none";
      else
        element.style.display = "";
    }
    function $(id){
      var obj;
      obj = document.getElementById(id);
      return obj;
    }
    function $F(id){
      return $(id).value;
    }
    function getTime(){
      var time=$("time");
      var now = new Date();
      var intYear = now.getYear();
      var intMonth = now.getMonth()+1;
      var intDay = now.getDate();
      var hh = now.getHours();
      var mm = now.getMinutes();
      if(mm<10){
        mm = "0" + mm;
      }
      var ss = now.getSeconds();
      if(ss<10){
        ss = "0"+ss;
      }
      var day = now.getDay();
      if    (day==1){day='星期一'}
      if    (day==2){day='星期二'}
      if    (day==3){day='星期三'}
      if    (day==4){day='星期四'}
      if    (day==5){day='星期五'}
      if    (day==6){day='星期六'}
      if    (day==0){day='星期日'}
      time.innerText = intYear+"年"+intMonth+"月"+intDay +"日  "+ day +"   "+ hh+":"+mm+":"+ss;
      setTimeout("getTime()",1000);
    }
  </script>
  <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <!--top begin-->

      <td height="69"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="${createLinkTo(dir:'images',file:'topbg.jpg')}">
          <tr>
              <td width="33%" align="left"><img src="../images/toplogo.jpg" width="239" height="69"></td>
              <td width="67%" align="right"><img src="../images/top02.jpg" width="508" height="69" /></td>
          </tr>
      </table></td>
    </tr>
    <tr>
      <td height="22" background="${createLinkTo(dir:'images',file:'topbg01.jpg')}"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="right">用户：${session.user.userName} 您好！欢迎登陆<span><div id="time" style="font-size:12px"><script type="text/javaScript">getTime();</script></div></span></td>
            <td width="25">&nbsp;</td>
          </tr>
      </table></td>
      <!--top end-->
    </tr>
    <tr>
      <td align="left" valign="top" height="100%"><div style="display:">
        <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
        <form action="" method="post" name="menuForm">
          <!--left begin-->
          <input name="hidHead" type="hidden" value="hide">
          <td id="menuTd" width="170" align="left" valign="top" class="leftbg" >
          <div   style="overflow-y:scroll;height:100%;"     >
            <table width="100%" border="0" cellspacing="0" cellpadding="0">

              <tr>
                <td class="menu01" style="CURSOR: hand" onClick="hideOrShow('logisticsDataQuary')">库存管理</td>
              </tr>
              <tr>
                <td><div id="logisticsDataQuary" style="display:none">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td class="menu02" style="CURSOR: hand" target="mainbg">
                          <g:link controller="importProduct" action="search" target="mainbg">产品查询</g:link>
                        </td>
                      </tr>
                      <tr>
                        <td class="menu02" style="CURSOR: hand" target="mainbg">
                          <g:link controller="importProduct" action="create" target="mainbg">产品入库</g:link>
                        </td>
                      </tr>
                      <tr>
                        <td class="menu02" style="CURSOR: hand" target="mainbg">
                          <g:link controller="importProduct" action="listOnTime" target="mainbg">当前库存</g:link>
                        </td>
                      </tr>
                      <tr>
                        <td class="menu02" style="CURSOR: hand" target="mainbg">
                          <g:link controller="importProduct" action="list" target="mainbg">历史库存</g:link>
                        </td>
                      </tr>
                      <tr>
                        <td class="menu02" style="CURSOR: hand"><g:link controller="upload" action="index" target="mainbg">批量上传库存</g:link></td>
                      </tr>
                      <tr>
                        <td class="menu02" style="CURSOR: hand"><g:link controller="exportProduct" action="list" target="mainbg">产品销售</g:link></td>
                      </tr>
                      <tr>
                        <td class="menu02" style="CURSOR: hand"><g:link controller="importProduct" action="sellProduct" target="mainbg">产品批次销售情况</g:link></td>
                      </tr>
                      <tr>
                        <td class="menu02" style="CURSOR: hand" target="mainbg">
                          <g:link controller="supplier" action="list" target="mainbg">供货商信息</g:link>
                        </td>
                      </tr>
                      <tr>
                        <td class="menu02" style="CURSOR: hand" target="mainbg">
                          <g:link controller="catalog" action="list" target="mainbg">产品分类管理</g:link>
                        </td>
                      </tr>
                    </table>
                </div></td>
              </tr>
              <tr>
                <td class="menu01" style="CURSOR: hand" onClick="hideOrShow('finance')">财务管理</td>
              </tr>
              <tr>
                  <td>
                      <div id="finance" style="display:none">
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                  <td class="menu02"><g:link controller="profit" action="list" target="mainbg">每天利润列表</g:link></td>
                              </tr>
                              <tr>
                                  <td class="menu02"><g:link controller="profit" action="weekColumnChar" target="mainbg">最近七天利润柱状图</g:link></td>
                              </tr>
                          </table>
                      </div>
                  </td>
              </tr>
              <tr>
                <td class="menu01" style="CURSOR: hand" onClick="hideOrShow('reports')">图报表管理</td>
              </tr>
              <tr>
                <td><div id="reports" style="display:none">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">

                      <tr>
                        <td class="menu02" style="CURSOR: hand" target="mainbg">
                          <g:link controller="exportProduct" action="monthProductCharts" target="mainbg">每月产品销售图表</g:link>
                        </td>
                      </tr>
                      <tr>
                        <td class="menu02" style="CURSOR: hand" target="mainbg">
                          <g:link controller="exportProduct" action="productCharts" target="mainbg">产品销售图表</g:link>
                        </td>
                      </tr>
                      <tr>
                        <td class="menu02" style="CURSOR: hand" target="mainbg">
                          <g:link controller="exportProduct" action="everyMonthProductReport" target="mainbg">每月报表查询</g:link>
                        </td>
                      </tr>
                      <tr>
                        <td class="menu02" style="CURSOR: hand" target="mainbg">
                          <g:link controller="exportProduct" action="monthProductReport" target="mainbg">月报表查询</g:link>
                        </td>
                      </tr>
                    </table>
                </div></td>
              </tr>
              <tr>
                <td class="menu01" style="CURSOR: hand" onClick="hideOrShow('returned')">返修/退货管理</td>
              </tr>
              <tr>
                  <td>
                      <div id="returned" style="display:none">
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                  <td class="menu02"><g:link controller="repairProduct" action="list" target="mainbg">商品返修列表</g:link></td>
                              </tr>
                              <tr>
                                  <td class="menu02"><g:link controller="returnedGoods" action="list" target="mainbg">商品退货列表</g:link></td>
                              </tr>
                          </table>
                      </div>
                  </td>
              </tr>
              <tr>
                <td class="menu01" style="CURSOR: hand" onClick="hideOrShow('tools')">个人实用工具</td>
              </tr>
              <tr>
                <td><div id="tools" style="display:none">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td class="menu02" style="CURSOR: hand" target="mainbg">
                          <g:link controller="weather" action="report" target="mainbg">天气预报</g:link>
                        </td>
                      </tr>
                      <tr>
                        <td class="menu02"><g:link controller="tools" action="calendarShow" target="mainbg">万年历</g:link></td>
                      </tr>
                      <tr>
                        <td class="menu02"><g:link controller="note" action="list" target="mainbg">记事本</g:link> </td>
                      </tr>
                      <tr>
                        <td class="menu02"><g:link controller="stock" action="doStockInformation" target="mainbg">股票信息查询</g:link> </td>
                      </tr>
                      <tr>
                        <td class="menu02"><g:link controller="tools" action="translate" target="mainbg">在线翻译</g:link></td>
                    </tr>
                    <tr>
                        <td class="menu02"><g:link controller="tools" action="songs" target="mainbg">在线听歌</g:link></td>
                    </tr>
                    <tr>
                        <td class="menu02"><g:link controller="gmap" action="index" target="mainbg">电子地图</g:link></td>
                    </tr>
                    </table>
                </div></td>
              </tr>
              <tr>
                <td class="menu01" style="CURSOR: hand" onClick="hideOrShow('dataMantain')">系统工具</td>
              </tr>

              <tr>
                <td><div id="dataMantain" style="display:none">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td class="menu02"><g:link controller="system" action="info" target="mainbg">系统信息</g:link></td>
                      </tr>
                      <tr>
                        <td class="menu02"><g:link controller="system" action="backDB" target="mainbg">备份数据库</g:link></td>
                      </tr>
                    </table>
                </div></td>
              </tr>
              <tr>
                <td class="menu01" style="CURSOR: hand" onClick="hideOrShow('sysManage')">系统管理</td>
              </tr>
              <tr>
                <td><div id="sysManage" style="display:none">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">

                      <tr>
                        <td class="menu02"><g:link controller="user" action="list" target="mainbg">用户管理</g:link></td>
                      </tr>
                      <tr>
                        <td class="menu02"><g:link controller="systemLog" action="list" target="mainbg">系统日志</g:link></td>
                      </tr>
                      <tr>
                        <td class="menu02"><g:link controller="user" action="logout">用户注销</g:link></td>
                      </tr>
                    </table>
                </div></td>
              </tr>
              <!--alpha-->
            </table>
        </div>
        </form>
      </td>

      <!--left end-->
      <td width="11" background="${createLinkTo(dir:'images',file:'bg.jpg')}">
        <g:javascript src="hide.js">
        </g:javascript>
        <SPAN title=关闭/打开菜单>
              <img id=hideLeftImg src="${createLinkTo(dir:'images',file:'leftArrow.gif')}" width="6" height="10" onClick="hideLeft()" STYLE="CURSOR: hand"></SPAN>
      </td>

      <!--main begin-->
      <td><iframe name="mainbg" width="100%" height="100%" frameborder="0" scrolling="yes" src="welcome.gsp"></iframe></td>
      <!--main end-->
    </tr>
  </table></td>
  </tr>
  <tr>
    <td height="22" align="center" bgcolor="#E1E1E2" class="text_1">佳讯科技进销存系统V1.8beta &nbsp;&nbsp;&nbsp;沈哲版权所有 fengzhizi715@126.com</td>
  </tr>
  </table>
</body>
</html>